package com.yhc.entity;

import java.util.Date;

//可以添加注解，也可以不添加
public class User {
    private Integer uid;
    private String lname;
    private String nickname;
    private String lpassword;
    private String ppassword;
    private String state;
    private Date lastUpdate;

    public User() {
    }

    public User(String lname, String nickname, String lpassword) {
        this.lname = lname;
        this.nickname = nickname;
        this.lpassword = lpassword;
    }

    public User(String lname, String nickname, String lpassword, String ppassword, String state, Date lastUpdate) {
        this.lname = lname;
        this.nickname = nickname;
        this.lpassword = lpassword;
        this.ppassword = ppassword;
        this.state = state;
        this.lastUpdate = lastUpdate;
    }

    public User(String lname, String nickname, String lpassword, Date lastUpdate) {
        this.lname = lname;
        this.nickname = nickname;
        this.lpassword = lpassword;
        this.lastUpdate = lastUpdate;
    }

    public User(Integer uid, String lname, String nickname, String lpassword, String ppassword, String state, Date lastUpdate) {
        this.uid = uid;
        this.lname = lname;
        this.nickname = nickname;
        this.lpassword = lpassword;
        this.ppassword = ppassword;
        this.state = state;
        this.lastUpdate = lastUpdate;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getLpassword() {
        return lpassword;
    }

    public void setLpassword(String lpassword) {
        this.lpassword = lpassword;
    }

    public String getPpassword() {
        return ppassword;
    }

    public void setPpassword(String ppassword) {
        this.ppassword = ppassword;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(Date lastUpdate) {
        this.lastUpdate = lastUpdate;
    }
}
